package com.mspbots.core.wise.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mspbots.core.DefaultBaseMapper;
import com.mspbots.core.wise.model.TenantUserConfiguration;
import com.mspbots.cw.request.TenantUserConfigurationDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * Mapper
 * </p>
 *
 * @author Jun Zhou
 * @since 2019-06-24
 */
@Mapper
public interface TenantUserConfigurationMapper extends DefaultBaseMapper<TenantUserConfiguration> {

    IPage<TenantUserConfigurationDTO> workTimePage(Page<TenantUserConfigurationDTO> page, @Param("query") TenantUserConfiguration query);

    boolean deleteWorkTime(List<Long> userList);

//    TenantUserTimezone selectTenantUserTimezone(Long tenantUserId);
}
